import request from '@/utils/request'


// 查询批次物料
export function listMaterial(query) {
  return request({
    url: '/inv/batch/list',
    method: 'get',
    params: query
  })
}


// 查询计量单位
export function listPacking(query) {
  return request({
    url: 'inv/unit/list',
    method: 'get',
    params: query
  })
}

// 导出物料
export function exportMaterial(query) {
  return request({
    url: '/inv/batch/export',
    method: 'get',
    params: query
  })
}
